package com.yjzx.core.bean.sql;

/**
 * @author guozhi
 * @date 2023/10/19
 * @description 字段信息
 */
public class FieldInfo {

    /**
     * 字段名
     */
    private String columnName;

    /**
     * Model名
     */
    private String fieldName;

    /**
     * 所属类
     */
    private String fieldClass;

    /**
     * 字段注释
     */
    private String fieldComment;


    /**
     * 类型
     */
    private String  dataType;
    /**
     * 字段长度
     */
    private String  maxLength;
    /**
     * 是否null
     */
    private String  nullAble;

    public FieldInfo() {
    }


    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldClass() {
        return fieldClass;
    }

    public void setFieldClass(String fieldClass) {
        this.fieldClass = fieldClass;
    }

    public String getFieldComment() {
        return fieldComment;
    }

    public void setFieldComment(String fieldComment) {
        this.fieldComment = fieldComment;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(String maxLength) {
        this.maxLength = maxLength;
    }

    public String getNullAble() {
        return nullAble;
    }

    public void setNullAble(String nullAble) {
        this.nullAble = nullAble;
    }
}
